import request from '@/utils/request'

// 查询钱包账户列表
export function listWallet_account(query) {
    return request({
        url: '/wallet/wallet_account/list',
        method: 'get',
        params: query
    })
}

// 查询钱包账户详细
export function getWallet_account(id) {
    return request({
        url: '/wallet/wallet_account/' + id,
        method: 'get'
    })
}

// 新增钱包账户
export function addWallet_account(data) {
    return request({
        url: '/wallet/wallet_account',
        method: 'post',
        data: data
    })
}

// 修改钱包账户
export function updateWallet_account(data) {
    return request({
        url: '/wallet/wallet_account',
        method: 'put',
        data: data
    })
}

// 删除钱包账户
export function delWallet_account(id) {
    return request({
        url: '/wallet/wallet_account/' + id,
        method: 'delete'
    })
}

// 导出钱包账户
export function exportWallet_account(query) {
    return request({
        url: '/wallet/wallet_account/export',
        method: 'get',
        params: query
    })
}